using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._NetworkDiagramTools._Configuration
{
    /// <summary>
    /// <para>Export Diagram Layer Definition</para>
    /// <para>Exports the diagram layer definition  currently set up for the input diagram layer into a network diagram layer definition file (.ndld).</para>
    /// <para>将当前为输入逻辑示意图图层设置的逻辑示意图图层定义导出到网络逻辑示意图图层定义文件 （.ndld） 中。</para>
    /// </summary>    
    [DisplayName("Export Diagram Layer Definition")]
    public class ExportDiagramLayerDefinition : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExportDiagramLayerDefinition()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_network_diagram_layer">
        /// <para>Input Network Diagram Layer</para>
        /// <para>The network diagram layer from which the layer definition will be exported.</para>
        /// <para>将从中导出图层定义的网络逻辑示意图图层。</para>
        /// </param>
        /// <param name="_out_ndld_file">
        /// <para>Output File</para>
        /// <para>The network diagram layer definition file (.ndld) to be created.</para>
        /// <para>要创建的网络逻辑示意图图层定义文件 （.ndld）。</para>
        /// </param>
        public ExportDiagramLayerDefinition(object _in_network_diagram_layer, object _out_ndld_file)
        {
            this._in_network_diagram_layer = _in_network_diagram_layer;
            this._out_ndld_file = _out_ndld_file;
        }
        public override string ToolboxName => "Network Diagram Tools";

        public override string ToolName => "Export Diagram Layer Definition";

        public override string CallName => "nd.ExportDiagramLayerDefinition";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_network_diagram_layer, _out_ndld_file, _out_network_diagram_layer];

        /// <summary>
        /// <para>Input Network Diagram Layer</para>
        /// <para>The network diagram layer from which the layer definition will be exported.</para>
        /// <para>将从中导出图层定义的网络逻辑示意图图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network Diagram Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_network_diagram_layer { get; set; }


        /// <summary>
        /// <para>Output File</para>
        /// <para>The network diagram layer definition file (.ndld) to be created.</para>
        /// <para>要创建的网络逻辑示意图图层定义文件 （.ndld）。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output File")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_ndld_file { get; set; }


        /// <summary>
        /// <para>Output Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Network Diagram Layer")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_network_diagram_layer { get; set; }


        public ExportDiagramLayerDefinition SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}